<?php
namespace App\Services\Activity;

use App\Models\ActivityDB\ActivityTaskReward;

class TaskRewardService
{
    public function normal(int $taskId)
    {
        $list = ActivityTaskReward::query()
                    ->where('task_id', $taskId)
                    ->where('is_visible', 1)
                    ->where('count', '>', 0)
                    ->with(['reward'])
                    ->get();
        return $list;
    }


}
